An Algebraic View of Program Composition

نویسنده

  • Pietro Cenciarelli
چکیده

We propose a general categorical setting for modeling program composition in which the call-by-value and call-by-name disciplines fit as special cases. Other notions of composition arising in denotational semantics are captured in the same framework: our leading examples are nondeterministic call-by-need programs and nonstrict functions with side effects. Composition of such functions is treated in our framework with the same degree of abstraction that Moggi’s categorical approach based on monads allows in the treatment of call-by-value programs. By virtue of such abstraction, interesting program equivalences can be validated axiomatically in mathematical models obtained by means of modular

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Strong Regular Relation on ?-Semihyperrings

The concept of algebraic hyperstructures introduced by Marty as a generalization of ordinary algebraic structures. In an ordinary algebraic structure, the composition of two elements is an element, while in an algebraic hyperstructure, the composition of two elements is a set. The concept of ?-semihyperrings is a generalization of semirings, a generalization of semihyper‌rings and a generalizat...

متن کامل

Chemical salt reactions as algebraic hyperstructures

A salt metathesis reaction is a chemical process involving the exchange of bonds between two reacting chemical species, which results in the creation of products with similar or identical bonding affiliations. Hyperstructure theory is studied from the theoretical point of view and for its applications. In this paper, we provide some examples of hyperstructures associated with salt m...

متن کامل

Computing Atomic Density Changes of Material Composition in Operation of the Nuclear Reactor Core

The present work investigates an appropriate way to calculate the 1700 atomic density changes in the reactor operations. To automate this procedure, a computer program has been designed by C#. This program suggests a way to solve this problem which is based on the solution system of differential equations (Bitman) that it is designed according to Runge-Kutta Fehlberg method. The designed softwa...

متن کامل

Some algebraic properties of Lambert Multipliers on $L^2$ spaces

In this paper, we determine the structure of the space of multipliers of the range of a composition operator $C_varphi$ that induces by the conditional expectation between two $L^p(Sigma)$ spaces.

متن کامل

Taming Aspect Composition: A Functional Approach

We take this approach further by modeling crosscuts, aspect Aspect Oriented Programing is a promising paradigm that challenges traditional notions of program modularity. Despite its increasing acceptance, aspects have been documented to suffer limited reuse, unpredictable behavior, and difficult modular reasoning. We develop an algebraic model that treats aspects as program transformations and ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998